home *** CD-ROM | disk | FTP | other *** search
/ Hackers Handbook - Millenium Edition / Hackers Handbook.iso / library / hack99 / lipart3.txt < prev    next >
Encoding:
Text File  |  1999-04-28  |  4.1 KB  |  120 lines

  1.                              -==Linux Info: Part 3==-
  2.                            By: dr0z(dr0z@theapoc.8m.com)
  3.                The Apocalypse (http://theapoc.8m.com)
  4.  
  5.  
  6.  
  7. >>Introduction<<
  8.  
  9.     I'm not sure but this may be the last part of my Linux Info series.  In this
  10. release I will tell how to change certain aspects of linux and configure it your way.  
  11. Also this release includes info on the Enlightenment and KDE window managers.
  12.  
  13. >>Section 001<<
  14.  
  15.     First I will talk about changing some small things.  Such as your hostname, this
  16. is an example of your hostname:
  17.  
  18. >>Example 001<<
  19.  
  20. RedHat 5.1
  21.  
  22. localhost login:
  23.  
  24. >>End Example 001<<
  25.  
  26. Where localhost would be your hostname/domain.  Most people I know that don't run on
  27. networks or host any websites on thier box change this to make it a "Computer Name" like
  28. in windows.  Mine looks like this:
  29.  
  30. >>Example 001b<<
  31.  
  32. TheApoc login:
  33.  
  34. >>End Example 001b<<
  35.  
  36. Where my hostname is " TheApoc ".  Now onto changing this.  You can change this by 
  37. entering:
  38.  
  39. >>hostname (desired name)
  40.  
  41. But there is a problem with that.  On most systems the hostname is set to localhost
  42. at boot-up.  So what we need to do is put that command in the /etc/rc.d/rc.local file.
  43. This makes it so the hostname is changed to the one you specified at boot-up.
  44.  
  45.     Another thing you may want to change is the login screen.  This is it here:
  46.  
  47. >>Example 001c<<
  48.  
  49. RedHat 5.1
  50. Kernel 2.2.5
  51.  
  52. TheApoc login:
  53.  
  54. >>End Example 001c<<
  55.  
  56. This screen is often used to welcome remote and local users.  You can change what the
  57. login screen says by editing the /etc/issue and /etc/issue.net files.  I had a problem
  58. on the systems I tested it on.  At boot-up the /etc/issue files are overwritten with
  59. a default login screen(shown in Example 001c).  On my Red Hat system there was a place
  60. for the login screen in the /etc/rc.d/rc.local file where it edited the 2 files with 
  61. the default screen.  What you need to do is change what it says in that file to what 
  62. you wish for your login screen to say. If your system doesn't have a place for this 
  63. then you will need to echo the code to the files.
  64.  
  65. >>Example 001d<<
  66.  
  67. echo "Welcome to linux" >> /etc/issue
  68.  
  69. >>End Example 001d<<
  70.  
  71. >>NOTE: On my slackware box i found the login screen info in the file /etc/rc.d/rc.S
  72.         So this info could be found in a different file than the ones I have stated.
  73.  
  74.     Now onto another useful edit to the /etc/rc.d/rc.local file.  Some systems don't
  75. mount win95/dos partitions during the boot-up.  So you can add the mount command to the
  76. file.  Here is what mine looks like:
  77.  
  78. >>Example 001e<<
  79.  
  80. mount /dev/hda1 /win
  81. moutn /dev/hda7 /win2
  82. mount /dev/hdc /cd
  83.  
  84. >>End Example 001d<<
  85.  
  86. You could also reconfigure your kernel to do this.  A lot of version of linux have this
  87. built into the setup program, so that saves time.  But for you who don't want to 
  88. reconfigure your kernel then this should help you out.
  89.  
  90. >>End Section 001<<
  91.  
  92. >>Section 002<<
  93.  
  94.     Now onto Enlightenment and KDE.  Enlightenment and KDE are basically enhancements
  95. to the existing X-Windows system.  The are fancier and easier to use in some cases.  If
  96. you like the layout of Windows 95 then stick with fvwm and fvwm95.  But if you like
  97. something more exciting and fancy buttons then you should d/l one of these.  Enlightenment
  98. is what most people would think a hackers desktop would look like, exspecially if you
  99. watch a lot of computer movies (i.e hackers, the net).  Anyways, Enl is well layed out
  100. but some people have trouble installing it because it depends on soooo many different 
  101. libraries and other scripts and programs.  But KDE has an easy to setup interface with a 
  102. setup type program.  And it also has many more applications than Enl does.  KDE now has
  103. a whole office suite similiar to MS Office.  Well thats about all I can say for those 
  104. wm's.
  105.  
  106. You can d/l them from here:
  107. Enlightenment: http://www.rasterman.com
  108.            http://www.enlightenment.org
  109. KDE: http://www.kde.org
  110.  
  111. >>End Section 002<<
  112.  
  113. Email suggestion, comments, and questions to dr0z@theapoc.8m.com.  I would apreciate any
  114. suggestions on this paper or the series to help better my text files.
  115.  
  116.  
  117.                  Hope you enjoyed this text!
  118.                     Text written by: dr0z
  119.                     as a part of
  120.                     The Linux Info Series